// Decompiled on 周六 2月 22 19:31:49 CST 2025 with Zomboid Decompiler v0.1.3 using Vineflower.
package zombie.core.math;

import org.joml.Matrix4f;

public final class Matrix4 extends Matrix4f {
    public Matrix4(
        float m00,
        float m01,
        float m02,
        float m03,
        float m10,
        float m11,
        float m12,
        float m13,
        float m20,
        float m21,
        float m22,
        float m23,
        float m30,
        float m31,
        float m32,
        float m33
    ) {
        super(m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, m30, m31, m32, m33);
    }

    public Matrix4(Matrix4 m) {
        super(m);
    }

    public org.lwjgl.util.vector.Matrix4f Get() {
        org.lwjgl.util.vector.Matrix4f matrix4f = new org.lwjgl.util.vector.Matrix4f();
        matrix4f.m00 = this.m00();
        matrix4f.m01 = this.m01();
        matrix4f.m02 = this.m02();
        matrix4f.m03 = this.m03();
        matrix4f.m10 = this.m10();
        matrix4f.m11 = this.m11();
        matrix4f.m12 = this.m12();
        matrix4f.m13 = this.m13();
        matrix4f.m20 = this.m20();
        matrix4f.m21 = this.m21();
        matrix4f.m22 = this.m22();
        matrix4f.m23 = this.m23();
        matrix4f.m30 = this.m30();
        matrix4f.m31 = this.m31();
        matrix4f.m32 = this.m32();
        matrix4f.m33 = this.m33();
        return matrix4f;
    }

    public void Set(org.lwjgl.util.vector.Matrix4f matrix4f) {
        this.set(
            matrix4f.m00,
            matrix4f.m01,
            matrix4f.m02,
            matrix4f.m03,
            matrix4f.m10,
            matrix4f.m11,
            matrix4f.m12,
            matrix4f.m13,
            matrix4f.m20,
            matrix4f.m21,
            matrix4f.m22,
            matrix4f.m23,
            matrix4f.m30,
            matrix4f.m31,
            matrix4f.m32,
            matrix4f.m33
        );
    }
}
